package com.yun.zf.common.admin.dto.community;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yun.zf.common.admin.model.house.HouseListMo;
import com.yun.zf.common.app.dto.detail.CommunityNearByDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 小区详情信息
 */
@Data
public class CommunityDto {
    @ApiModelProperty(value = "基本信息")
    private CommunityBasicDto basicDto;

    @ApiModelProperty(value = "封面图")
    private List<CommunityPictureDto> cover;
    @ApiModelProperty(value = "户型图")
    private List<CommunityPictureDto> hxPic;
    @ApiModelProperty(value = "环境图")
    private List<CommunityPictureDto> pictureList;
    private List<CommunitySubwayDto> subwayDtoList;
    @ApiModelProperty(value = "学区信息")
    private List<CommunitySchoolsDto> schools;
    @ApiModelProperty(value = "统计信息")
    private List<CommunityStatisticalDto>   statistical;
    @ApiModelProperty(value = "经纪人信息")
    List<AgentInfoDto> agents;

    @ApiModelProperty(value = "在售房源")
    Page<HouseListMo> sold;
    @ApiModelProperty(value = "在租房源")
    Page<HouseListMo> rent;

    @ApiModelProperty(value = "附近小区")
    List<CommunityNearByDto> nearCommunity;
}
